package cz.vse.javaee.album;

import java.util.List;

/**
 * DAO pro fotografie v albumu (bezstavová fasáda).
 * <p/>
 * Created by IntelliJ IDEA.
 * User: zslajchrt
 * Date: Mar 14, 2010
 * Time: 4:07:21 PM
 */
public interface AlbumDAO {

    List<Album> getAlbums();

    void addPhoto(Photo photo, String albumName);

    List<Photo> getPhotos();

    Photo findPhoto(String photoName)
            throws NoPhotoFoundException;

    Photo findPhotoIcon(String photoName) throws NoPhotoFoundException;

    Photo updatePhoto(Photo photo);

    void removePhotos(int[] selectedIds);
}

